package mongodb

import "go.mongodb.org/mongo-driver/bson/primitive"

type CarsEntryMongoDbStruct struct {
	Id         primitive.ObjectID `bson:"_id,omitempty"`
	InPhoto    string             `bson:"in_photo,omitempty"`
	ParkCode   string             `bson:"park_code,omitempty"`
	ParkName   string             `bson:"park_name,omitempty"`
	PushTime   int                `bson:"push_time,omitempty"`
	CarNumber  string             `bson:"car_number,omitempty"`
	InTime     string             `bson:"in_time,omitempty"`
	MuchId     string             `bson:"much_id,omitempty"`
	SerialNo   string             `bson:"serial_no,omitempty"`
	OrderType  int                `bson:"order_type,omitempty"`
	PushErrNum int                `bson:"push_err_num,omitempty"`
	CarNoColor int                `bson:"car_no_color,omitempty"`
	RegionCode string             `bson:"region_code,omitempty"`
	RegionName string             `bson:"region_name,omitempty"`
	OrderNo    string             `bson:"order_no,omitempty"`
	Repeated   int                `bson:"repeated,omitempty"`
	PushStatus int                `bson:"push_status,omitempty"`
}

func (c *CarsEntryMongoDbStruct) MongoDBTableName() string {
	return "entry"
}
